#include "kaichang.h"
#include "ui_kaichang.h"
#include"guocheng.h"

kaichang::kaichang(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::kaichang)
{
    ui->setupUi(this);
    setWindowTitle("kaichang");
    setWindowFlags(Qt::Window|Qt::FramelessWindowHint);
    setAttribute(Qt::WA_TranslucentBackground);
    setWindowFlags(Qt::FramelessWindowHint |Qt::WindowStaysOnTopHint);
    m_Movie2 = new QMovie(":/new/prefix1/kaichang.gif");
    ui->label->setMovie(m_Movie2);
    startMovi();
}

kaichang::~kaichang()
{
    delete ui;
}

void kaichang::on_pushButton3_clicked()
{
    this->hide();


    emit showsj();

}
void kaichang::recvsj()
{
    this->show();
}

void kaichang::startMovi()
{
    m_Movie2->start();
}
